<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/8/13
 * Time: 21:37
 */
return [
    // 当前系统版本
    'version' => env('version', 'v1.0.1'),
    'salt' => env('salt', '~shmilylbelva!@#'),
    // 加密盐
    'socket' => env('socket', '127.0.0.1:7272'),
    // 管理员登录时间
    'save_time' => env('save_time', 86400),

    'cookie_save_time' => 30 * 86400,
    'db_conf' => [
        'default' => [
            'driver'      => 'mysql',
            'host'        => 'localhost',
            'port'        => '3306',
            'user'        => 'root',
            'password'    => 'root',
            'dbname'      => 'chat5',
            'charset'     => 'utf8',
            'prefix'      => 'ws_',
            'timezone'    => '+8:00',
            'collection'  => 'utf8_general_ci',
            // 'strict'      => false,
            // 'unix_socket' => '/var/run/mysqld/mysqld.sock',
            // 'options'     => [],
        ],
    ]
];